package com.platform.modules.cpt.entity;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Data
@TableName("CPT_ACCEPTANCE_REPORT_QUALITY")
@ApiModel("竣工验收报告-质量评定表")
public class CptAcceptanceReportQualityEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId
    private String id;

    @ApiModelProperty(value = "验收申请ID")
    private String cptId;  

    @ApiModelProperty(value = "单位工程名称")
    private String unitPrjName;
    @ApiModelProperty(value = "分部工程评定-总分部数")
    private Integer partNum;
    @ApiModelProperty(value = "分部工程评定-符合要求分部数")
    private Integer partAccordNum;
    @ApiModelProperty(value = "质量保证资料-核查项目总数")
    private Integer dataNum;
    @ApiModelProperty(value = "质量保证资料-核查符合要求数量")
    private Integer dataAccordNum;
    @ApiModelProperty(value = "质量保证资料-经鉴定核查符合要求数量")
    private Integer dataIdentifyNum;
    @ApiModelProperty(value = "观感质量评价 1-好 2-一般 3差")
    private String appeQuality;
    @ApiModelProperty(value = "存在问题")
    private String problems;
    @ApiModelProperty(value = "评定日期")
    @JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date evalDate;
    @ApiModelProperty(value = "评定结论")
    private String evalConclusion;
    @ApiModelProperty(value = "建设单位负责人ID")
    private String buildCorpResponsibleUserId;

    
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    
    @ApiModelProperty(value = "创建人")
    private String createUser;
    
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
    
    @ApiModelProperty(value = "修改人")
    private String updateUser;
    
    @ApiModelProperty("重新签名标志 1-重新签名")
    @TableField(exist = false)
    private Integer reSign;
}
